package com.Wy.Demo06;

import java.util.Scanner;

public class Sum {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("请输入第一个数字");
        int first = scan.nextInt();
        System.out.println("请输入第二个数字");
        int second = scan.nextInt();

        System.out.println("和:" + (first + second));
        System.out.println("差:" + (first - second));

    }
}
